<%@ page import="bcared.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>

<% 
	Engineer eng = new Engineer(Integer.parseInt(request.getParameter("engineerID")));
	ServiceOrder so = new ServiceOrder(Integer.parseInt(request.getParameter("selectedSOID")));

	eng.setSOID(so.getSOID());
	so.setSoStatusID(7);
	so.update();

%>


<% 
	response.sendRedirect("dispatchhome.jsp");
%>